package com.ciaojian.worker.model.param;

import com.ciaojian.core.model.MaterialApplyRecordMaterial;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Atlakyn
 */
@Data
public class StoreMaterialApplyRecordParam {

    @ApiModelProperty("申请记录-物资列表")
    private List<MaterialApplyRecordMaterial> materialApplyRecordMaterialList;

    @NotNull(message = "门店ID不能为空")
    @ApiModelProperty("门店ID")
    private Integer storeId;

    @NotNull(message = "申请人不能为空")
    @ApiModelProperty("申请人")
    private Integer workerId;
}
